import { Transform } from 'class-transformer';
import { Util } from 'src/common/Util';

/*
 * @Author: jingfuu@163.com
 * @Date: 2024-12-04 13:56:32
 * @LastEditTime: 2024-12-04 13:57:16
 * @Description: 登录日志
 */
class SysLogininforDto {
  infoId: number;
  userName: string;
  ipaddr: string;
  loginLocation: string;
  browser: string;
  os: string;
  status: string;
  msg: string;
  @Transform(({ value }) => Util.convertTimeStr(value))
  loginTime: string;
}
export default SysLogininforDto;
